package com.sc.VenusQueryBeta.adapter.account.xiadaikuan;

import android.content.Context;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.TextView;

import com.chad.library.adapter.base.BaseViewHolder;
import com.hengjun.kingstar.sdk.utils.SpUtils;
import com.sc.VenusQueryBeta.R;
import com.sc.VenusQueryBeta.adapter.BaseCompatAdapter;
import com.sc.VenusQueryBeta.adapter.PopAdapter;
import com.sc.VenusQueryBeta.constant.Constants;
import com.sc.VenusQueryBeta.dae.Contants;
import com.sc.VenusQueryBeta.global.MyApplication;
import com.sc.VenusQueryBeta.model.bean.account.xiadaikuan.XiaDaiKuan01Bean;

import java.util.List;

/**
 * Created by Administrator on 2018/10/21.
 *
 */

public class XiaDaiKuan01Adapter extends BaseCompatAdapter<XiaDaiKuan01Bean.ClientListBean,BaseViewHolder> {




    public XiaDaiKuan01Adapter(int item_xiadaikuan01) {
        super(item_xiadaikuan01);
    }

    public XiaDaiKuan01Adapter(int item_xiadaikuan01, List<XiaDaiKuan01Bean.ClientListBean> clientList) {
        super(item_xiadaikuan01, clientList);
    }


    @Override
    protected void convert(BaseViewHolder helper, XiaDaiKuan01Bean.ClientListBean item) {
        helper.setText(R.id.tv_zhengchang, item.getLoannumNal() + "萬");
          helper.setText(R.id.tv_guoqi, item.getLoannumPast() + "萬");
    }
}
//  helper.setText(R.id.tv_zhengchang, item.getLoannumNal() + "萬");
//          helper.setText(R.id.tv_guoqi, item.getClientList().get(0).getLoannumPast() + "萬");